package com.dpteam.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 * User: luolei
 * Date: 2016/1/11
 * Time: 14:34
 */
@Controller
public class IndexController {

    @RequestMapping("/")
    public String index() {
        return "login/login";
    }

    @RequestMapping("test")
    public String test() {
        return "test";
    }

    @RequestMapping("/error")
    public String error() {
        return "error";
    }
}
